package cn.smxy.vo;

import cn.smxy.pojo.CollegePlant;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class CollegePlantVo extends CollegePlant {
    private String userName;
    private String plantName;
    private String plantPicture;
    private String address;
    private String collegeName;
    private Long createTime;
    public CollegePlantVo(CollegePlant collegePlant) {
        super(collegePlant.getId(),
                collegePlant.getCollegeId(),
                collegePlant.getUserId(),
                collegePlant.getPlantId(),
                collegePlant.getCollegeAddress());
    }
}
